{% extends "manage/layout.html" %}

{% set page_title = '客户端日志列表 - ' + school_name %}

{% block content %}
<div class="m-content">
    <h1>{{ school_name }} ({{ school_code }})</h1>
	<table data-toggle="table" class="table table-striped table-condensed table-bordered">
		<thead>
			<tr>
				<th data-sortable="true">序号</th>
				<th>下载日志</th>
				<th data-sortable="true">上传时间</th>
			</tr>
		</thead>
		<tbody>
			{% for log in log_files %}
			<tr id="log_{{ loop.index }}">
				<td>{{ loop.index }}</td>
				<td><a target="_blank" href="{{ url_for('manage.download_log', school_code=school_code, log_name=log.name) }}">{{ log.name }}</a></td>
				<td>{{ log.create_time }}</td>
			</tr>
			{% endfor %}
		</tbody>
	</table>
</div>
{% endblock %}
